<?php include $this->getViewFile('/common/Head') ?>
<body style="overflow:scroll" class="J_scroll_fixed">
<style>
.col-left{float:left}
.col-auto{overflow:hidden;_zoom:1;_float:left;}
.title-1{border-bottom:1px solid #eee; padding-left:5px}
.f14{font-size: 14px}
.lh28{line-height: 28px}
.blue,.blue a{color:#004499}
.gray4,a.gray4{color:#999;}
.lh22{line-height: 22px}
.lh25{line-height: 25px}
</style>
<div class="wrap J_check_wrap">
    <div class="table_list">
      <table width="100%" cellspacing="0">
        <thead>
          <tr>
            <td align="center">商品信息</td>
          </tr>
        </thead>
        <tbody>
          <?php
      foreach($data as $rs){
      ?>
          <tr>
          <td ><div class="col-left mr10" style="width:146px; height:112px"><a href="<?php echo $rs->detail_url?>" target="_blank"><img src="<?php echo $rs->product_img?>" width="146" height="112" style="border:1px solid #eee" align="left"></a></div>
                <div class="col-auto">
                  <h2 class="title-1 f14 lh28 mb6 blue"><a href="<?php echo $rs->detail_url?>" target="_blank"><?php echo $rs->goods_name ?></a></h2>
                  <p class="gray4 lh25">
                  原价：<font color="#FF0000"><?php echo  number_format($rs->p_price,2)?></font>， 
                  活动价：<font color="#FF0000"><?php echo  number_format($rs->promo_price,2)?></font>，
                  销量：<font color="#FF0000"><?php echo (int)$rs->sales;?></font>，
                  店铺类型：<font color="#FF0000"><?php echo GoodsBmModel::model()->getShopTypeName($rs->item_type); ?></font>
                  </p>
                  <p class="gray4 lh25">
                  报名时间：<font color="#000000"><?php echo date('Y-m-d H:i:s',$rs->add_time)?></font>，
                  报名栏目：<font color="#0033FF"><?php echo CategoryModel::model()->getCategory($rs->cat_id,'cat_name');?></font>，
                  旺旺：<b><a href="http://amos.im.alisoft.com/msg.aw?v=2&amp;site=cntaobao&amp;s=2&amp;charset=utf-8&amp;uid=<?php echo urlencode($rs->nick)?>" target="_blank"><?php echo $rs->nick?><img src="http://amos.im.alisoft.com/online.aw?v=2&amp;site=cntaobao&amp;s=2&amp;charset=utf-8&amp;uid=<?php echo urlencode($rs->nick)?>" alt=""></a></b>
                  
                  </p>
                  <p class="gray4 lh25">
                  上架时间：<font color="#FF33FF"><?php echo date('Y-m-d H:i:s',$rs->start_time)?></font> ，
                  下架时间：<font color="#FF33FF"><?php echo date('Y-m-d H:i:s',$rs->end_time)?></font>
                  </p>
                  <p class="gray4 lh25">
                  标签：<font color="#FF33FF"><?php echo $rs->tags?></font> ，
                  
                  </p>
                </div></td>
                </tr>
          <?php
      }
      ?>
        </tbody>
      </table>
      <div class="p10">
        <div class="pages"><?php echo $Page;?></div>
      </div>
    </div>
</div>
<script src="<?php echo $staticUrl; ?>statics/js/common.js"></script>
</body>
</html>